package JavaClassroom;

import java.util.Scanner;

public class seatwork2 {
    public static void main(String[] args) {
        System.out.println("今天是星期一");
        Scanner scanner = new Scanner(System.in);
        System.out.println("请任意输入一个整数");
        int a = scanner.nextInt();
        if (a%7==0){
            System.out.println("今天是星期一");
        }else if (a%7==1){
            System.out.println("今天是星期二");
        }else if (a%7==2){
            System.out.println("今天是星期三");
        }else if (a%7==3){
            System.out.println("今天是星期四");
        }else if (a%7==4){
            System.out.println("今天是星期五");
        }else if (a%7==5){
            System.out.println("今天是星期六");
        }else if (a%7==6){
            System.out.println("今天是星期天");
        }
    }
}
